package examplePackage;


public class ExampleClassTwo  {
	public ExampleClassTwo() {}
	
	static public void main(String args[]) {
		ExampleClassOne exmp1 = new ExampleClassOne();
		ExampleClassTwo exmp2 = new ExampleClassTwo();
		exmp1.exampleMethod();
		exmp2.exampleMethod();
		
	}
	
    public int exampleMethod() {
        int a = do2().do1().number();
        ExampleClassOne b = do2().do1();
        ExampleClassTwo c = do2();
        return a;
    }
    
    public ExampleClassOne do1() {
        return new ExampleClassOne();
    }
    
    public ExampleClassTwo do2() {
        return new ExampleClassTwo();
    }

}